<template>
  <!-- 药房 -->
  <section class="full-screen">
    <el-tabs v-model="tabsIndex" type="border-card">
      <el-tab-pane name="0" label="今日病人">
        <todayPatient v-if="tabsIndex==0" :qxBtns="qxBtns"></todayPatient>
      </el-tab-pane>
      <el-tab-pane name="1">
        <span slot="label">
          <span>历史记录</span>
        </span>
        <specialPatient v-if="tabsIndex==1" :qxBtns="qxBtns"></specialPatient>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>
<script>
export default {
  components: {
    todayPatient: () => import("./todayPatient.vue"),
    specialPatient: () => import("./specialPatient.vue"),
  },
  data() {
    return {
      qxBtns: {},
      tabsIndex: "0",
    };
  },
  created() {
    let th = this;
    th.getQX();
  },
  methods: {},
};
</script>
<style lang="scss">
@import "../_css/reserve.scss";
</style>
